package com.itfenghuang.service;

import com.github.pagehelper.PageInfo;
import com.itfenghuang.domain.User;
import com.itfenghuang.vo.PageVo;
import com.itfenghuang.vo.SelectVo;

import java.util.List;

public interface UserService {
    //1.注册
    void register(User user);
    //2.根据账号查询用户
    User selectOne(String username);
    //3.分页查询所有信息
    PageInfo<User> selectAll(PageVo pageVo);
    //4.条件查询用户
    PageInfo<User> selectByUser(SelectVo selectVo);
    //5.删除用户信息
    void deleteByIds(List<Integer> ids);
    //6.根据id查询用户
    List<User> exportUserinfo(List<Integer> ids);

    List<User> exportAllUserinfo();
    //10.修改用户信息
    void updateUser(User user);
}
